<div *ngIf="hero">
    <h2>{{hero.name | uppercase}} Details</h2>
    <div>
        <span>ID:</span>{{hero.id}}
    </div>
    <div>
        <label>Name:
            <input [(ngModel)]="hero.name" placeholder="Hero Name">
        </label>
    </div>
</div>
<button (click)="goBack()">go back</button>
<button (click)="save()">save</button>